package com.devframe.web.struts2.freemarker;

import java.net.URL;


import freemarker.cache.URLTemplateLoader;

/**
 * Finds FreeMarker templates in bundles
 */
public class FreeMarkerJarResourceLoader extends URLTemplateLoader {

    protected URL getURL(String name) {
        return this.getClass().getClassLoader().getResource(name);
    }

}
